﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using WoChu.RfClient.Entity;
using WoChu.CF.Base;

namespace WoChu.RfClient.Duty.IFace
{
    [ServiceName(Name = "ProfitAndLoss")]
    public interface IProfitAndLoss
    {
        [Mapping(MethodUrl = "/IProfitAndLoss/InsertProfitAndLoss?orderNo={0}&oprNo={1}")]
        bool InsertProfitAndLoss(string orderNo, string oprNo, List<ProfitAndLossDetailInfo> profitAndLossDetailInfo);

        [Mapping(MethodUrl = "/IProfitAndLoss/Query?lookId={0}")]
        List<LookUpItemInfo> Query(string lookId);

        [Mapping(MethodUrl = "/IProfitAndLoss/GetGoodsNameByCode?goodsCode={0}")]
        string GetGoodsNameByCode(string goodsCode);
    }
}
